package com.zkingsoft.laqeelin.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.laqeelin.bean.BizHelp;

/**
 * @description (助力表)
 * @author 何明
 * @date 2018-09-01 10:35
 */
public interface BizHelpDao{

	public int insert(@Param("item") BizHelp bizHelp);
   	
   	public int batchInsert(@Param("list") List<BizHelp> bizHelpList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizHelp bizHelp);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String helpId);

	public int deleteByModel(@Param("record") BizHelp bizHelp);
	
	public List<BizHelp> selectInPage(@Param("record") BizHelp bizHelp, @Param("pageVo") PaginationVO pageVo);

	public List<BizHelp> selectByModel(@Param("record") BizHelp bizHelp);
	
	public int selectTotalRecord(@Param("record") BizHelp bizHelp);
	
	public BizHelp  selectById(String helpId);
	
	public BizHelp  selectForUpdate(String helpId);
	
	
	public List<BizHelp> selectByShare(String shareId);
	
	public List<BizHelp> selectHelps();
}